package com.usian.apis.behavior;

import com.usian.model.article.dtos.ArticleInfoDto;
import com.usian.model.behavior.dtos.LikesBehaviorDto;
import com.usian.model.behavior.pojos.ApLikesBehavior;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * ClassName: ApLikesBehaviorApi
 * Author:   WGG
 * Date:    2022-12-2022/12/1-13:49
 * Version: 1.0
 * Description:
 */
public interface ApLikesBehaviorControllerApi {

    /**
     * 点赞行为
     * @param dto
     * @return
     */
    ResponseResult likesBehavior(LikesBehaviorDto dto);

    /**
     * 点赞行为查询
     * @param dto
     * @return
     */
    ApLikesBehavior showLikesBehavior(ArticleInfoDto dto);
}
